/* 公共css */
body{
    padding: 0;
    margin: 0;
    font-size: 14px;
}

input::-webkit-input-placeholder{ /*WebKit browsers*/
    color: grey;
    font-size: 13px;
    padding-left: 0.5em;
}
input::-moz-input-placeholder{ /*Mozilla Firefox*/
    color: grey;
    font-size: 13px;
    padding-left: 0.5em;
}
input::-ms-input-placeholder { /*Internet Explorer*/
    color: grey;
    font-size: 13px;
    padding-left: 0.5em;
}
.main{
    width: 100%;
    height: auto;
    background-color: #f6f6f6;
    text-align: center;
}

.m-content{
    width: 375px;
    height: auto;
    background-color: #f6f6f6;
    display: inline-block;
    padding-top: 4px;
    margin: 0 auto;
}
/*  占位符 */
.placeholder-area{
    height: 46px;
    background-color: #f6f6f6;

    border-top: 1px solid gainsboro;
}
/* 菜单 */
.globle-bottom-menu{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 51px;
    background-color: white;
    border-top: 1px solid gainsboro;
}
.gbm{
    width: 33%;
    height: 50px;
    float: left;
    background-color: white;
    text-align: center;
}
.gbm-bord {
    border-left: 1px solid #e2e2e2;

}

/* 优惠span元素 */
.discounts-span{
    font-size: 12px;
    background-color: red;
    color: white;
    padding: 2px;
    border-radius: 3px;
}
/* 清除浮动，解决div里面的div因浮动而导致min-height无法自动撑开的问题 */
.clearfloat{clear:both;height:0;font-size:1px;line-height:0px;}


.brand{
    font-size: 12px;
    background-color: #17c017;
    font-weight: normal;
    color: white;
    padding: 2px;
    line-height: 22px;
    border-radius: 3px;
}

/* 空白div，用于行占位 */
.m-space{
    width: 100%;
    height: 55px;
}

.shopcar-num{
    position: absolute;
    top: 3px;
    right: 31px;
    z-index: 9;
    background-color: rgb(255,122,3);
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: white;
    border-radius: 10px;
    font-size: 12px;
}
.menu-img{
    width: 45px;
    margin-top: 2px;
}

/* 橙色按钮 */
.orange-btn{
    width: 120px;
    height: 37px;
    line-height: 37px;
    border: 0;
    background-color: rgb(255,122,3);
    border-radius: 22px;
    color: white;
}

/* 绿色按钮 */
.green-btn{
    width: 120px;
    height: 37px;
    line-height: 37px;
    border: 0;
    background-color: #3aaf3a;
    border-radius: 22px;
    color: white;
    text-align: center;
    margin: 0 auto;
}
/* 自制弹出层 */
.layer_div{
    display: none;
    position: fixed;
    width: 100%;
    height: 736px;
    background-color: black;
    opacity: 0.8;
    top: 0;
    left: 0;
}